{% macro load_file(filename) %}{% include filename %}{%- endmacro -%}
---
apiVersion: v1
kind: List
metadata: {}
items:
- apiVersion: v1
  kind: ConfigMap
  metadata:
    name: discourse2fedmsg-config
    labels:
      app: discourse2fedmsg
  data:
    discourse2fedmsg.cfg: |-
      {{ load_file('discourse2fedmsg.cfg.py') | indent(6) }}
- apiVersion: v1
  kind: ConfigMap
  metadata:
    name: wsgi-script
    labels:
      app: discourse2fedmsg
  data:
    wsgi.py: |-
      {{ load_file('wsgi.py') | indent(6) }}
  __init__.py: ""
- apiVersion: v1
  kind: ConfigMap
  metadata:
    name: fedora-messaging-config
    labels:
      app: discourse2fedmsg
  data:
    config.toml: |-
      {{ load_file('fedora-messaging.toml') | indent(6) }}
